<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<body class="page-header-fixed">
<div class="form-group" style="margin: 0px;" id="balanceOfPaymentModel">
		<div class="row">
			<label class="col-sm-1 control-label text-right" >合作商</label>
			<div class="col-sm-3">
				<div class="input-group">
					<select ng-options="merchant.merchantCode as merchant.name for merchant in merchantMap" 
									ng-model="balSearchModel.merchantCode" class="form-control flexselect">
								<option value=""></option>
					</select> 
				 </div>
			</div> 
			<label class="col-sm-1 control-label text-right"  >开始日期</label>
			<div class="col-sm-2"> 
				<div class="input-group">
					<input class="form-control getTime bValidate" key="date"	type="text"  ng-model="balSearchModel.startDate"/>
				</div>
			</div>
			<label class="col-sm-1 control-label text-right"  >结束日期</label>
			<div class="col-sm-2"> 
				<div class="input-group"> 
					<input class="form-control getTime bValidate" key="date" type="text" ng-model="balSearchModel.endDate"/>
				</div>
			</div>
			<div class="col-sm-1">
				<div class="input-group">
					<button type="button" class="btn btn-primary"  ng-click="queryBalanceOfPayments()"  ><i class="fa "></i>查询</button>
				</div>
			</div>
			<div class="col-sm-1"  style="margin-left: -20px;"><a class="btn blue" ng-click="excelBalanceOfPayments();"><i class="fa fa-sign-out"></i>导出Excel</a></div>
		</div>
</div>

<hr />
<table class="table table-striped table-bordered table-hover"
		id="table_1">
		<thead>
			<tr>
				<th>交易流水</th>
				<th>消费卡号</th>
				<th>用户</th>
				<th>业务名称</th>
				<th>交易时间</th>
				<th>会计日期</th>
				<th>交易总金额</th>
				<th>企业名称</th>
				<th>科目</th>
				<th>科目金额</th>
			</tr>
		</thead>
		<tbody>
			<tr class="odd gradeX"
				ng-repeat="item in balanceOfPaymentList  track by $index"
				on-loaded="{{$last}}" target-table="table_1">
				<td ><span	ng-bind="item.tradeNo "></span>	</td>
				<td ><span	ng-bind="item.cardNo "></span>	</td>
				<td ><span	ng-bind="item.originalPayerName"></span>	</td>
				<td ><span	ng-bind="item.servicename"></span>	</td>
				<td ><span	ng-bind="item.platTime | date:'yyyy-MM-dd HH:mm:ss'"></span>	</td>
				<td ><span ng-bind="item.accountingdate | date:'yyyy-MM-dd'"></span></td>
				<td ><my-span  amount="item.paymentAmount" /></td>
				<!-- <td ><span ng-bind="item.paymentAmount| currency:'￥'" ></span></td> -->
				<td><span 	ng-bind="item.merchantname" ></span></td>	
				<td><span 	ng-bind="item.subjectname" ></span></td>	
				<td ><my-span  amount="item.amount" /></td>
				<!-- <td><span ng-bind="item.amount | currency:'￥'" ></span></td> -->
			</tr>
		</tbody>
	</table>
</body>
<script src="manageView/assets/scripts/public.js" type="text/javascript"></script>

</html>  